/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.epam.expertsys.blogic;

/**
 *
 * @author Admin
 */
public class Patient {

    private Long id;
    private String name;
    private String surname;
    private Long insurNo;
    private String login;
    private String password;

    public Patient(Long id, String name, String surname, Long insurNo,
            String login, String password) {
        this.id = id;
        this.name = name;
        this.surname = surname;
        this.insurNo = insurNo;
        this.login = login;
        this.password = password;
    }

    public void setId(Long newId) {
        this.id = newId;
    }

    public Long getId() {
        return this.id;
    }

    public void setName(String newName) {
        this.name = newName;
    }

    public String getName() {
        return this.name;
    }

    public void setSurname(String newSurname) {
        this.surname = newSurname;
    }

    public String getSurname() {
        return this.surname;
    }

    public void setInsurNo(Long newInsurNo) {
        this.insurNo = newInsurNo;
    }

    public Long getInsurNo() {
        return this.insurNo;
    }

    /**
     * @return the login
     */
    public String getLogin() {
        return login;
    }

    /**
     * @param login the login to set
     */
    public void setLogin(String login) {
        this.login = login;
    }

    /**
     * @return the password
     */
    public String getPassword() {
        return password;
    }

    /**
     * @param password the password to set
     */
    public void setPassword(String password) {
        this.password = password;
    }
}
